<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h3>退出成功！</h3>
    <p></p>
    <script>
        let time = 3
        document.querySelector("p").innerText = time + '秒后跳转到个人中心页'
        setInterval(() => {
            time--;
            document.querySelector("p").innerText = time + '秒后跳转到个人中心页'
        }, 1000);
        setTimeout(() => {
            window.location.href = 'http://localhost';
        }, 3000);
    </script>
</body>
</html>